#ifndef __TCP_CLIENT_CTL_H__
#define __TCP_CLIENT_CTL_H__

#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>

#include "../include/lcdjpg.h"

//服务器的ip
#define SERVER_IP   "192.168.2.48"  //自己的ubuntu的ip

//服务器的端口
#define SERVER_PORT 62000 

#define MAX_FILENAME 1024
#define BUFFER_SIZE 1024

#define TRANS   "1"
#define DISPL   "2"
#define END     "3"

extern void* tcp_client_ctl(void *arg);

#endif